package com.example.guiguihomemedical.service.impl;

import com.example.guiguihomemedical.entity.Listenerclustering;
import com.example.guiguihomemedical.mapper.ListenerclusteringMapper;
import com.example.guiguihomemedical.service.ListenerclusteringService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ListenerclusteringServiceImpl implements ListenerclusteringService {
    @Autowired
    private ListenerclusteringMapper listenerclusteringMapper;
    @Override
    public List<Listenerclustering> getAll() {
        return listenerclusteringMapper.getAll();
    }

    @Override
    public Listenerclustering getById(Integer id) {
        return listenerclusteringMapper.getById(id);
    }
}
